print_msg("October, 1941 - The German armies have begun their final assault on the capital of the Soviet Union: Moscow. Defenses ring the city, but the Russian Army will still be hard-pressed to stop the German onslaught." );
set_timer( "opener", 20 );
}
trigger clear_intro ( timer_expired( "opener" ) )
{
move_camera(23,21);//Moves camera from action scene
set_msg_time(6);//Resets message time to default
clear_msg();//clears text
scrolling_unlock();
zooming_unlock();
hotkey_selection_enable();
mouse_selection_enable();
ui_show();
set_timer( "ra_one", 60 );
set_timer( "ra_two", 90 );
set_timer( "ra_three", 120 );
add_objective_text( "Date: October 1, 1941", "date", "null.wav" );
popup_dialog( "Comrade General, some defenses have already been prepared, but more is necessary. Firstly, we will need to improve our fighting technology." );
popup_dialog( "NEW OBJECTIVE: Advance to Modern Age" );
add_objective( "Advance to Modern Age", "advancement", "null.wav" );
popup_dialog( "Additionally general, the Kremlin has sustained bomb damage in a recent air raid. Repair the damage." );
popup_dialog( "NEW OPTIONAL OBJECTIVE: Finish Kremlin construction" );
if ( ( day == 30 && month == 11) || ( day == 31 && month == 10 ) )
{
if ( month == 10 )
{
month = 11;
day = 1;
}
else
{
// it's november, so change to december
month = 12;
day = 1;
}
}
else if ( day == 31 && month == 12 )
{
// its the end of the year, change to January
day = 1;
month = 1;
}
else if ( day == 31 && month == 1 )
{
// its the end of the scenario and the player is not yet done
popup_dialog( "Comrade general, your ineptitude in driving the Germans from Moscow will show deeply on your future military career. That is, if you have one. Comrade Stalin has already approved your replacement, General. Your defeat will be his burden as the spring approaches. You are dismissed." );
defeat( 1 );
}
else
{
// no month change, normal increment
day++;
}
if ( month == 10 )
{
change_objective_text( "date" , "Date: October " +day+", 1941" );
}
else if ( month == 11 )
{
change_objective_text( "date", "Date: November " +day+", 1941" );
}
else if ( month == 12 )
{
change_objective_text( "date", "Date: December " +day+", 1941" );
}
else if ( month == 1 )
{
change_objective_text( "date", "Date: January " +day+", 1942" );
}
set_timer( "cdar", 60 );
enable_trigger( "calendar" );
} // end of calendar trigger
trigger rzhev_breaks ( month == 10 && day == 6 )
{
create_unit(6,223,395,"Infantry",8);
group_attack_to_order(6,216,362);
create_unit(6,223,395,"Tank",4);
group_attack_to_order(6,216,362);
create_unit(6,223,395,"Heavy Machine Gun",2);
group_attack_to_order(6,216,362);
create_unit(6,223,395,"Armored Scout Car",2);
group_attack_to_order(6,216,362);
create_unit(6,223,395,"Howitzer",2);
group_attack_to_order(6,216,362);
create_unit(6,223,395,"Supply Wagon",2);
group_attack_to_order(6,216,362);
}
trigger viaz_breaks ( month == 10 && day == 6 )
{
// outta my way
destroy_building(4,2013);
destroy_building(4,2014);
create_unit(5,351,296,"Infantry",8);
group_attack_to_order(5,303,303);
create_unit(5,351,296,"Tank",4);
group_attack_to_order(5,303,303);
create_unit(5,351,296,"Heavy Machine Gun",2);
group_attack_to_order(5,303,303);
create_unit(5,351,296,"Armored Scout Car",2);
group_attack_to_order(5,303,303);
create_unit(5,351,296,"Howitzer",2);
group_attack_to_order(5,303,303);
create_unit(5,351,296,"Supply Wagon",2);
group_attack_to_order(5,303,303);
}
trigger the_panic ( month == 10 && day == 16 )
{
popup_dialog("October 16 - Chaos ensues in Moscow as alarmed citizens realize the seriousness of the German assault towards Moscow. Many flee the city rather than stay and fight as they believe the Germans will enter Moscow tomorrow. General, prepare to lose many civilian workers!" );
popup_dialog("October 17 - Stalin speaks on the radio to the public of Moscow. He denies rumors of imminent surrender and states that \"Every one of us, no matter what his work or his position, shall act like a soldier defending Moscow against the Fascist invaders.\" The speech has the affect of calming the panic." );
popup_dialog("November 6 - Stalin gives a speech on the evenening of the anniversary of the 1917 revolution. He states that the German army has suffered great setbacks and that there would be \"no mercy for the German invaders.\" He concludes with \"Long live our Red Army and our Red Navy! Long Live our glorious country! Our cause is just. Victory will be ours!\"" );
popup_dialog("Additionally, the United States has granted the Soviet Union a one-billion dollar loan on this day. Comrade general, we can expect a boost to our wealth as a result.");
popup_dialog( "General, our front line divisions report a drop-off in German activity. It is suspected that German divisions are gathering strength for a last push against Moscow." );
popup_dialog( "Bogged down by an immense long supply line and terrible roads, but most of all General Winter, the German offensive has finally halted. German soldiers all over the front find themselves freezing to death in ditches and clinging to frozen weapons. Comrade general, this is the perfect time for our counter-offensive! Drive the Germans from Moscow general, and do so by the end of January." );
objective_complete( "moskva" );
set_population_cap(5,180);
set_population_cap(6,180);
set_population_cap(1,300);
enable_trigger( "keep_pop_cap_low" );
enable_trigger( "i_r_winner" );
set_timer( "hurtthem", 5 );
KREM_BOOST = 15;
popup_dialog( "NEW OBJECTIVE: Push Germans of the map" );
add_objective( "Push Germans off the map", "offensive", "null.wav" );
}
trigger pearl_harbor ( month == 12 && day == 8 )
{
popup_dialog("General, word has arrived that the American Pacific fleet at anchor in Pearl Harbor has been devastated by Japanese Attack. America is now at war with Japan. We will keep you informed of further developments, comrade general." );
popup_dialog("Excellent news comrade general: The Germans have foolishly declared war on the Americans in a show of solidarity with their Japanese \"Allies.\" This is a huge windfall General, and Comrade Stalin has high hopes that a second front in Europe may be imminent." );
}
trigger sibera_stop ( month == 12 && day == 15 )
{
popup_dialog( "Sir, all of the reinforcements from Siberia have arrived. However, conscripts from other parts of Russia will continue to pour in." );
popup_dialog("Stalin has sent you a message general. It states that you are to immediately seize the remaining German positions around Moscow. Failure will not be tolerated. Make haste, comrade general." );
popup_dialog( "Good job, comrade general. The leadership provided by the Kremlin will give us a resource boost by improving supply into the city. Additionally, the Germans will now feel attrition at a higher rate." );
popup_dialog( "This is horribile. Without the Kremlin our armies will be leaderless and at the mercy of the Germans. You have almost certainly doomed us all, general." );
popup_dialog( "General, you have disgraced yourself and quite possibly the war is lost on your account. Perhaps it is fortunate that you have been captured by the Germans rather than having to bear defeat in front of comrade Stalin." );
defeat( 1 );
}
trigger advances_made ( at_least_age(1,6) )
{
popup_dialog( "With our advancement into a new age of warfare, our troops will be better equipped to face the German attackers. Additionally, we now have Red Guards at our command. These elite troops are made up of veterans from summer combat and will fight better than normal Riflemen." );
objective_complete( "advancement" );
gain_tech(1, "Nation-in-Arms" );
if ( gain_upgrade( 1,"Red Guards Infantry" ) == -1 )
{
print_game_msg( "Error: Failed to upgrade from Riflemen" );
popup_dialog( "The first of the reinforcements from Siberia have arrived, comrade general. They are well trained and equipped. We should put them to good use immediately." );
popup_dialog( "Well done general. Comrade Stalin has requested you for a tribute in your honor. Congratulations is in order general, as you have saved the Soviet Union from the brink and have driven the Fascists from the capital. However, more is yet to come general..." );
popup_dialog( "You are now ready for the fifth part of this campaign. Please load the next scenario in the Red Front sequence." );